package jku.semtech.common;

public enum FieldPosition {	
	ATTACK("Angriff"),MIDFIELD("Mittelfeld"),DEFENSE("Verteidigung"),GOALKEEPER("Torwart");
	
	private final String identifier;
	
	public static FieldPosition getRandom() {
        return values()[(int) (Math.random() * values().length-1)];
    }
	
	private FieldPosition(String identifier) {
		this.identifier = identifier;
	}
	
	public String toString() {
		return this.identifier;
	}
}
